package cn.com.shaom.learning.sb.data.mybatis.page.service;

import cn.com.shaom.learning.sb.data.mybatis.page.entity.User;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;

/**
 * ClassName: IUserService
 * Description:
 * Date: 2018/1/8 14:30 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
public interface IUserService {

    Page<User> findUserByName(String name, int pageNum, int pageSize);

    PageInfo<User> getALL(int pageNum, int pageSize);
}
